Article title: FONTS settings in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
In the X-window system, fonts are an indispensable resource in the graphic interface. Allows you to display or enter text in the Window header, menu, or text field.
1) set the font path:
View the font path of X servo program: # xset-q
New Font Directory: # xset + fp ~ /
: Linux, CentOs, Redhat, etc; version is the revision number.In this configuration file, you can modify the logical font correspondence with the physical font, that is, you can manually modify the serif, Sansserif, monospaced, Dialog, and dialoginput five logical fonts used in different scenarios of the actual physical font.For a chestnut, the following configuration will serif.plain the logical font in Chinese using SIMSUN.TTF, Latin using Java's own font:1# @ (#) linux.fontconfig.SuSE.properti
1. Online identification of the font in the picture
At present, the Internet "word Passenger network", "Font", "myfonts", "Whatfontis" and other sites to provide image font recognition services, the site in the identification accuracy of different. We might as well look for our own identification channels in these sites.
The use of each site is basically similar. Here's how to quickly identify fonts in a picture, as an example of the word guest netw
Linux installation Fonts
Linux Fonts directory:/usr/share/fonts
Create a new directory under fonts, for example: mkdir myfonts
Place the fonts you want to install under the new directory, for example: CP ~/test/simsun.ttf/usr/share/fonts/myfonts
Go to myfonts directory: cd/usr/share/fonts/myfonts
Execu
set the webmin service to disabled by default on the webmin interface. However, remember to run the following command to start the webmin service:/etc/webmin/start in the future, run the/etc/webmin/stop command to close the service.
5. Install the windows simulated environmentAlthough ubuntu is installed, it is impossible to abandon windows completely. Therefore, we need two tools: wine and virtual box. the advantage of the former is that the speed is fast and the resource usage is small; the l
zip_fileConvmv-f gbk-t utf8-r -- notest *
8. decompress the rarfile with garbled characters.Decompress the rarfile generated in Windows in ubuntu, and also encounter Chinese garbled characters, such as using 7z to decompress the file.The solution is to use unrar to decompress the package.Install unrar:Sudo apt-get install unrar
9. garbled Chinese Characters in PDFIf the Chinese characters in the PDF file are garbled, you can install poppler-data to solve the problem:Sudo apt-get install poppler
This script is used to install the necessary software environment for the Debian squeeze system at one time.
Step 1: Prepare
(1) Prepare a Removable device and place necessary files in it. The directory is as follows:
Mobile device root directory: |-Csat/packages/|-Eclipse Maven Tomcat (tar.gz), |-oOffice opera chrome (DEB) |-sysuse/|-eclipse_juno.desktop, myset, setupenv. sh, sources. list, |-/myfonts/(copy from Windows) |-Csat/scripts/|-aliedit.
card driver
Please refer to my installation of the NVIDIA graphics card driver
[Edit]
Font beautification
Contents
[Hide]
1. Get the bag
2. Organize font files
3. Font adjustment scheme
4. Restart x
[Edit]
Get a bag
Http://ruly.cn/storage/myfonts.tgz
$ Tar xvf myfonts. tgz
[Edit]
Organize font files
Clear Ubuntu's built-in "weird" Chinese Fonts$ Sudo Rm-r/usr/share/fonts/TrueTypeLoad your own font package$ Sudo CP-r
problem:Sudo apt-get install poppler-data
10. font installation1) install Microsoft FontsSudo aptitude install msttcorefonts
2) manually install other FontsCreate a font directory under the/usr/share/fonts directory, for example,/usr/share/fonts/myfonts, and copy or LINK the font file to the directory.
Cd/usr/share/fonts/myfonts/Sudo mkfontscaleSudo mkfontdir
* The result is normal without executing the fo
, because the fonts of Windows are copyrighted, of course, it cannot be released together in Ubuntu. But we can make it by ourselves ......
OK. Let's get started with the following:
(1) Search for your favorite Chinese fonts from the fonts folder of Windows (do not know where the font folder of Windows is), such as SimHei and SimSun) and so on.
(2) cp these fonts to a folder, such as myfonts
(3) Run The sudo cp */usr/share/fonts/truetype command in
-window-navigax:sudo apt-get install Avant-window-navigaxBoot auto Start:System – Preferences – session, then create new, name casually, such as fill awn, command fill avant-window-Navigax-replace,Emerald can also use this method to automatically load with the system, just fill the command line emerald–replace4) Font settingsInstall the Chinese font file you likeIn general, I use root permissions to copy font files to/usr/share/fonts/truetype/myfonts,
the suspension panel AWN (Mac effect) Avant-window-navigax:sudo apt-get install Avant-window-navigaxBoot auto Start:System – Preferences – session, then create new, name casually, such as fill awn, command fill avant-window-Navigax-replace,Emerald can also use this method to automatically load with the system, just fill the command line emerald–replace4) Font settingsInstall the Chinese font file you likeIn general, I use root permissions to copy font files to/usr/share/fonts/truetype/
The first question that I encountered earlier was when I generated a text verification code using PHP, the general tip:Warning:imagettftext (): Could not find/open font in/var/www/html/touming.php on line 11OrThe image "http://localhost/img.php" cannot be displayed because it contains errors.The source code is as follows:The internet did not find the reason, the back is because the Apache process is not authorized to read the MyFonts folder problem, t
performed as normal user.
Step1. prepare TrueType fonts, such as simsun. ttf tahoma. ttf verdana. ttf. Then decide which directory you want to put the font in. This directory is whatever you like. I put them in/usr/X11R6/lib/X11/fonts/TTF. For example, if all the ttf fonts you downloaded are under/home/username/myfonts/, perform the following operations # cp/home/username/myfonts /*. ttf/usr/X11R6/lib/X11/
Whether in graphic design, web design or interactive design in various fields, font design has become an essential element of the design, designers often spend a lot of time looking for fonts, when the designer found that others used a very beautiful font but do not know what to call, Repeated searches between thousands of fonts is a terrible thing to torture. MyFonts font site for the designer to provide the ability to identify fonts, help designers
, but using the original Helvetica Neue in your design process is excellent. In addition to the default fonts, you can also use a number of optional fonts, where you can view a complete list of preset fonts.Custom FontsTechnically, a True Type Font (. ttf) can be used in the iOS app, but be aware of licensing issues. In general, it is safe to use fonts that are completely free or commercially available. MyFonts contains the maximum number of licensed
script file:
Rm get-fonts.sh get-fonts.sh.zip 2>/dev/null
Restore the previous font settings:
Cd/etc/fonts/conf. avail
Sudo mv 51-local.conf.old 51-local.conf 2>/dev/null
Sudo mv 69-language-selector-zh-cn.conf 69-language-selector-zh-cn.conf.old 2>/dev/null
Sudo rm-f-r/usr/share/fonts/truetype/myfonts 2>/dev/null
Cd-
Correction record:
1. added the latest font for Windows 7. (Attachment size limit, not implemented)
2. Fixed the Link error of the con
\ newstartpanel"/V "{d8fba-ad25-11d0-98a8-0800361b1103}"/T REG_DWORD/D "0"/F> NUL
: The text here is the font. You can change it yourself.
Copy E: \ myfonts \ bird *. TTF % winDir% \ Fonts
Echo.
ECHO is registering the Birdman bold font...
Reg Add "HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ fonts"/V "Birdman bold (TrueType)"/D "Birdman bold. TTF"> NUL
ECHO is registering the Birdman li
-sublime-theme very elegant and ethereal style, color is also very small fresh
Brogrammer
Https://github.com/kenwheeler/brogrammer-theme, fashionFor a selection of programming fonts, refer to: The most appropriate font for writing code
Source Code Pro
Free programming fonts from Https://github.com/adobe/source-code-proAdobe, Siyuan blackbody
Dejavu Sans Mono
Http://dejavu-fonts.org/wiki/Main_Page claims to be the first programming font bitstream Vera San
Open($1) ############ ##ascii SelectMore(0u0020, 0u0080); ############ SelectInvert(); DetachAndRemoveGlyphs(); Generate($2, "", 0x14) Close();
Note that SelectMore (a, B, c, d) indicates to select the range [a, B], [c, d]; SelectMore (a) indicates to select a single; at first, I made a mistake and took some detours. If you want to process a piece of Chinese, you can first convert iconv to ucs-2le, and then as Exercise 8) to 0 uxxxx output. In addition, if we want to replace t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.